# 创建下载目录
mkdir ffmpeg_offline && cd ffmpeg_offline

# 下载FFmpeg主包及其依赖
apt download ffmpeg $(apt-cache depends --recurse --no-recommends --no-suggests ffmpeg | grep "^\w" | sort -u)